package com.achievement.service;


import com.achievement.domain.dto.PersonnelDispatchDTO;
import com.achievement.domain.entity.PersonnelDispatchEntity;
import com.achievement.domain.param.PersonnelDispatchParam;
import com.achievement.domain.vo.PersonnelDispatchVO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.common.api.BusinessApi;
import com.common.core.domain.AjaxResult;

import java.util.HashMap;
import java.util.List;

public interface IPersonnelDispatchService extends IService<PersonnelDispatchEntity>, BusinessApi {
    List<PersonnelDispatchVO> selectByPage(PersonnelDispatchParam param);

    List<PersonnelDispatchVO> getListByConditions(PersonnelDispatchParam param);
    PersonnelDispatchVO getInfoById(String id);

    AjaxResult add(PersonnelDispatchDTO dto);

    AjaxResult update(PersonnelDispatchDTO dto);

    boolean batchRemove(List<String> ids);

    /**
     * 左上方统计 通过，退回，待审核
     */
    List<HashMap<String, Integer>> listStatistics(PersonnelDispatchParam param);
}
